package com.spread;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;

@SpringBootApplication
@EnableAutoConfiguration
@ComponentScan(basePackages = {"com.spread"})
@Component
@MapperScan("com.spread.dao")
public class SpreadApplication {
	public static void main(String[] args) {
		SpringApplication.run(SpreadApplication.class, args);
	}
}
